package yzserver.sx4a.dao;

import yzserver.sx4a.domain.DepartmentDomain;

import java.util.List;

public interface IDepartmentDao {
    //单个用户
	public DepartmentDomain selDepartment(String Departmentid);

    //添加用户
    public void addDepartment(DepartmentDomain Department) throws Exception;

    //修改用户
    public void updDepartment(DepartmentDomain Department) throws Exception;


    //删除账号
    public void delDepartment(String Departmentid) throws Exception;

    //所有用户
    public List<DepartmentDomain> selAllDepartment(String Departmentid);

}
